<%--
  Created by IntelliJ IDEA.
  User: 25003
  Date: 2025/3/28
  Time: 22:32
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<nav style="height: 60px">
    <ul class="pagination" style="float: right ;margin: 0" >
        <li <c:if test="${!pageVo.showLeft}">class="disabled"</c:if>>
            <a href="javascript:gotoPage(${pageVo.currentPage - 1})">
                                <span>
                                    <i class="mdi mdi-chevron-left">
                                    </i>
                                </span>
            </a>
        </li>
        <c:forEach items="${pageVo.pageNums}" var="i" varStatus="s" >
            <li <c:if test="${i == pageVo.currentPage}">class="active"</c:if>>
                <a href="javascript:gotoPage(${i})">
                        ${i}
                </a>
            </li>
        </c:forEach>
        <li  <c:if test="${!pageVo.showRight}">class="disabled"</c:if>>
            <a href="javascript:gotoPage(${pageVo.currentPage + 1})">
                                <span>
                                    <i class="mdi mdi-chevron-right">
                                    </i>
                                </span>
            </a>
        </li>
    </ul>
</nav>